/**
 * projectName: waste_recovery-version_management
 * fileName: dd.java
 * packageName: s
 * date: 2021-01-24 9:14 下午
 * copyright(c) 2017-2020 xxx公司
 */
package s;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;

/**
 * @version: V1.0
 * @author: light
 * @className: dd
 * @packageName: s
 * @description:
 * @data: 2021-01-24 9:14 下午
 **/
public class dd {
    public static void main(String[] args) {
        String s = "{addressId=1351785942817550337, addressName=重庆市江北区渝澳大道4, addressLongitude=114.530949, addressLatitude=36.577078, addressStetus=1, userId=1353639608797171713, userPhone=null, userName=null}";
        String substring = s.substring(s.indexOf("addressName="), s.lastIndexOf(", addressLongitude="));
        String replace = substring.replace("addressName=", "");

        System.out.println(replace);
    }
}
